package com.janko.springbootbase.controller.serialize.dto;

/**
 * @Author nyk
 * @Date 2021/3/26 11:11
 * @Version 1.0
 * @Desc
 */
public class Person implements java.io.Serializable{

    private static final long serialVersionUID = 6757822160623976648L;
    public int index;
    public Person() {
    }

    public Person(int sex, String name, String tel) {
        this.sex = sex;
        this.name = name;
        this.tel = tel;
    }

    private  int sex;
    private  String name;
    private String tel;
    private String age;

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "name:" + name + ",tel:" + tel + ",sex:" + sex;
    }
}
